package cn.wolfcode.shop.cloud.service;

import cn.wolfcode.shop.cloud.domain.SeckillOrder;


public interface ISeckillOrderService {
    /**
     * 查询订单
     * @param seckillId
     * @param userId
     * @return
     */
    SeckillOrder selectBySeckillIdAndUserId(Long seckillId, Long userId);

    /**
     * 创建订单
     * @param seckillId
     * @param userId
     * @param orderNo
     */
    void createSeckillOrder(Long seckillId, Long userId, String orderNo);
}
